package design.patterns.dispatch.doubledispatch;

/**
 * desc     :
 * dateTime : 2020-06-14 14:44
 *
 * @author wwchen
 */
public class SubWest2 implements West {
    @Override
    public void goWest1(East east1) {
        System.out.println("SubWest2 " + east1.myName());
    }

    @Override
    public void goWest2(SubEast2 east2) {
        System.out.println("SubWest2 " + east2.myName());
    }
}
